import  {get} from '../utils/requers'
/* 
获取商品列表
*/
export const loadPrductsAPI=(page=1,per=10,category)=>get('/api/v1/products',{page,category,per})

/* 
获取商品详情
*/
export const loadPductDetail=id=>get('/api/v1/products/'+id)